public class CarTest {
    public static void main(String[] args) {
        Car c=new Car();
        c.oilConsumption=5;
        c.price=10.5;
        c.appearance="黑色";
        c.chassis=1;
        c.tyre=4;
        c.frame=1;
        c.engine=1;
        c.start="启动";
        c.stop="停止";
        c.whistle="鸣笛";
        c.show();
        c.whistle();
        c.stop();
        c.start();
    }
}
